package com.yuke.cloud.service.pmc.dao;

import com.yuke.cloud.common.core.mybatis.MyMapper;
import com.yuke.cloud.service.api.pmc.dto.FactoryInfoDto;
import com.yuke.cloud.service.pmc.dto.ProdFactoryDto;
import com.yuke.cloud.service.pmc.entity.ProdFactory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProdFactoryMapper extends MyMapper<ProdFactory> {
    List<ProdFactoryDto> getListDetailByCondition(@Param("prodFactory") ProdFactory prodFactory);
    List<ProdFactory> getListByCondition(@Param("prodFactory") ProdFactory prodFactory);
    String getIntroduceBySpecId(Long specId);
    //api
    List<FactoryInfoDto> getFactoryDetail(List<Long> factoryIds);
}